#include "Board.h"

Board::Board()
	:SDLSprite()
{
	SetSprite(PATH_BOARD, 0, 0, SDLEngine::GetInstance()->GetScreen());

	for( int i = 0; i < Board::boardSqSize; i++ )
	{
		for( int j = 0; j < Board::boardSqSize; j++ )
		{
			cases[i][j] = new Case(NULL, PIECE_SIZE * i, PIECE_SIZE * j);
		}
	}
}

Board::~Board()
{
}

void Board::Update()
{
	if(SDLInput::GetInstance()->KeyDown(SDLK_UP))
		std::cout << "Board Key Pressed" << std::endl;
}

